package com.spark.service.Impl;

import com.spark.domain.User;
import com.spark.service.UserService;
import org.springframework.stereotype.Service;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by zhangshunli on 2016/12/30.
 */
@Service
public class UserServiceImpl implements UserService {
    @Override
    public List<User> list() {
        List<User> users = new ArrayList<User>();
        User u = new User();
        u.setId(1L);
        u.setMobile("15210580788");
        users.add(u);
        return users;
    }//
}
